package com.mmd.admin.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 管理员
 * </p>
 *
 * @author ${author}
 * @since 2024-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("life_serve_store_admin")
@ApiModel(value = "StoreAdmin对象", description = "管理员")
public class StoreAdmin implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "管理员id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "管理员名称")
    private String name;

    @ApiModelProperty(value = "账号")
    private String userName;

    @ApiModelProperty(value = "密码")
    private String passWord;

    @ApiModelProperty(value = "角色id")
    private Long roleId;

    @ApiModelProperty(value = "0未删除1已删除")
    private Boolean isDel;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "商家端id")
    private Long storeId;

    @ApiModelProperty("加密盐值")
    private String salt;

    @ApiModelProperty("商家名称")
    private String storeName;

    @ApiModelProperty(value = "是否入驻 0未入驻1已入驻")
    private Integer isEnter;
}
